import { defineStore } from 'pinia'
export const tabBar = defineStore('tabBar',{
	state: () => ({
		activeIndex: 0,
		showPopUp: false
	}),
	actions: {
		changeIndex(index) {
			this.activeIndex = index
		},
		togglePopUp(show) {
			this.showPopUp = show
		}
	}
})